unit EntradaFichas;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, XPMan, Menus, ExtCtrls, DBCtrls, DB, Mask, ADODB;

type
  TfFichas = class(TForm)
    MainMenu1: TMainMenu;
    File1: TMenuItem;
    Fechar1: TMenuItem;
    Cadastro1: TMenuItem;
    Usurio1: TMenuItem;
    Jogador1: TMenuItem;
    LimiteDbito1: TMenuItem;
    Ficha1: TMenuItem;
    Capil1: TMenuItem;
    Fechamento1: TMenuItem;
    DevoluodeFicha1: TMenuItem;
    orneio1: TMenuItem;
    RingGame1: TMenuItem;
    Sair1: TMenuItem;
    XPManifest1: TXPManifest;
    ADOFichas: TADOConnection;
    TableFichas: TADOTable;
    Label1: TLabel;
    DataFichas: TDataSource;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    Label6: TLabel;
    Label7: TLabel;
    Label8: TLabel;
    Label9: TLabel;
    Label10: TLabel;
    DBNavigator1: TDBNavigator;
    TableFichasDSDesigner50cents: TIntegerField;
    TableFichasDSDesigner1real: TIntegerField;
    TableFichasDSDesigner5real: TIntegerField;
    TableFichasDSDesigner10real: TIntegerField;
    TableFichasDSDesigner25real: TIntegerField;
    TableFichasDSDesigner50real: TIntegerField;
    TableFichasDSDesigner100real: TIntegerField;
    TableFichasDSDesigner500real: TIntegerField;
    TableFichasDSDesigner1000real: TIntegerField;
    DBEdit10: TDBEdit;
    DBEdit11: TDBEdit;
    DBEdit12: TDBEdit;
    DBEdit13: TDBEdit;
    DBEdit14: TDBEdit;
    DBEdit15: TDBEdit;
    DBEdit16: TDBEdit;
    DBEdit17: TDBEdit;
    DBEdit18: TDBEdit;
    procedure LimiteDbito1Click(Sender: TObject);
    procedure Sair1Click(Sender: TObject);
    procedure Fechar1Click(Sender: TObject);
    procedure Usurio1Click(Sender: TObject);
    procedure Jogador1Click(Sender: TObject);
    procedure Capil1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fFichas: TfFichas;

implementation

uses Devolucao, CadastrarLimite, CadastrarUsuario, CadastrarJogador,
  CadastrarCapile;

{$R *.dfm}

procedure TfFichas.LimiteDbito1Click(Sender: TObject);
begin
fLimite.show;
fFichas.Visible := false;
end;

procedure TfFichas.Sair1Click(Sender: TObject);
begin
Application.Terminate;
end;

procedure TfFichas.Fechar1Click(Sender: TObject);
begin
Application.Terminate;
end;

procedure TfFichas.Usurio1Click(Sender: TObject);
begin
fUsuario.show;
fFichas.Visible := false;
end;

procedure TfFichas.Jogador1Click(Sender: TObject);
begin
fJogador.show;
fFichas.Visible := false;
end;

procedure TfFichas.Capil1Click(Sender: TObject);
begin
fCapile.show;
fFichas.Visible := false;
end;

end.
